#include "Mesh.h"

Mesh::Mesh(Real start, Real end, int num_cells):_start(start), _end(end)
{
	_dh = (end - start) / static_cast<Real>(num_cells);
	for (size_t i = 0; i < num_cells + 1; i++)
	{
		_coords.push_back(i * _dh + start);
	}
}

Mesh::~Mesh()
{
}